import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-ng-class',
  templateUrl: './ng-class.component.html',
  styleUrls: ['./ng-class.component.scss']
})
export class NgClassComponent implements OnInit {
  isShowOld:boolean = true;
  constructor() { }
 
  ngOnInit() {
  }

  btnClickOne(){
    this.isShowOld = !this.isShowOld;
  }

  btnClickMore(){
    this.isShowOld = !this.isShowOld;
  }
}
